package common;

// 常量表
public class Const {

    /**
     * Properties name.
     */
    public static final String PROPERTIES_NAME = "Application.properties";

    /**
     * SqlServer jdbc driver.
     */
    public static final String SQLSERVER_DRIVER_NAME = "com.microsoft.sqlserver.jdbc.SQLServerDriver";

    /**
     * 默认SqlServer数据库访问端口
     */
    public static final int SQLSERVER_DATABASE_PORT = 1433;
    /**
     * 全量同步时，每个单位批次操作的数据条数.
     */
    public static final int PAGE_SIZE = 100;

    /**
     * SQLSERVER_PAGE
     */
    public static final String SQLSERVER_PAGE = "SqlServerPage.txt";


    /**
     * SQLSERVER_LSN
     */
    public static final String SQLSERVER_LSN = "SqlServerLsn.txt";

    /**
     * SQLSERVER_Flag
     */
    public static final String SQLSERVER_FLAG = "SqlServerFlag.txt";

    /**
     * 获取元数据，需传入参数「 url 」
     */
    public static final String GET_THE_INTERFACE_OF_METADATE = "http://192.168.1.126/www/metadate/selectByUrl?url=";

    /**
     * rocketmq默认的nameSrv地址
     */
    public static final String DEFAULT_NAME_SRV_ADD = "192.168.25.205:9876";

    /**
     * rocketmq默认的topicName地址
     */
    public static final String DEFAULT_TOPIC_NAME = "SqlServer";

    /**
     * rocketmq默认的tagName地址
     */
    public static final String DEFAULT_TAG_NAME = "SYNC";

    /**
     * rocketmq默认的producerGroup地址
     */
    public static final String DEFAULT_PRODUCER_GROUP = "FLKJ";

}
